import { getRequest } from "@/utils/request";
import { postRequest } from "@/utils/request";
/**
 * 获取责任人枚举
 */
export function getCeachCodeOptions() {
    return postRequest(
        "/college/getCeachCode"
    );
}
/**
 * 获取性别
 */
export function getSexApi() {
    return getRequest(
        "/common/getSex"
    );
}
/**
 * 获取状态
 */
export function getStatusApi() {
    return getRequest(
        "/common/getStatus"
    );
}

    /**
 * 获取系统内置角色
 */
export function getRoleApi() {
  return getRequest(
   "/common/getRole"
  );
}


/**
 * 获取系统内置角色
 */
export function getIsLeafNodeApi() {
  return getRequest(
    "/common/getIsLeafNode"
  );
}


/**
 * 获取有效角色
 */
 export function getRolesApi() {
  return getRequest(
    "/role/getRoles"
  );
}

/**
 * 获取有效指标
 */
 export function getIndicatorsApi() {
  return getRequest(
    "/indicator/getIndicators"
  );
}

/**
 * 获取有效班级
 */
 export function getClassInfoApi() {
  return getRequest(
    "/common/getClassInfo"
  );
}

/**
 * 获取有效班级
 */
 export function getMeStuentOrTeacherApi() {
  return getRequest(
    "/common/getMeStuentOrTeacher"
  );
}

/**
 * 获取有效批次
 */
 export function getSemsApi() {
  return getRequest(
    "/common/getSems"
  );
}


